package demo9;

/**
 * @author Huangjin
 * @version 1.0
 * describe:
 * @date 2023/3/1 17:52
 */
public class ReplaceDemo {
    public static void main(String[] args) {
        String line = "abc123def456ghi78";
        line = line.replaceAll("[0-9+]","***");
        System.out.println(line);
    }
}
